package weather.dictionary;

import weather.language.forecast.*;
import weather.util.dictionary.*;

public class TemperatureGroupsDictionary extends AbstractSimpleDictionary<TemperatureGroup>
{
	public static TemperatureGroupsDictionary instance()
	{
		if (instance == null)
			instance = new TemperatureGroupsDictionary();
		return instance;
	}
	
	@Override
	protected TemperatureGroup newEntry(String s)
	{
		return new TemperatureGroup(s, WeatherKeywordsDictionary.instance().getEntriesEquivalentToEntry(s));
	}
	
	private TemperatureGroupsDictionary() {}
	
	private static TemperatureGroupsDictionary instance;
}
